Routines (alphabetical) > Routines: D > DELVAR

DELVAR

Syntax | Arguments | Examples | Version History | See Also

The DELVAR procedure deletes variables from the main IDL program level. DELVAR frees any memory used by the variable and removes it from the main program’s symbol table. The following restrictions apply:

Syntax

DELVAR, V1, ..., Vn

Arguments

Vi

One or more named variables to be deleted.

Examples

Suppose that the variable Q is defined at the main program level. Q can be deleted by entering:

DELVAR, Q

Version History

Pre 4.0

Introduced

See Also

TEMPORARY